﻿using System;
using Atom.Common.CustomConfiguration;
using Atom.Common.Configuration;
namespace Atom.Common.ResourceProvider
{
    [ConfigurationElementType(typeof(XmlResourceProviderConfigurationElement))]
    public class XmlResourceProvider : IResourceProvider
    {
        public string FileName { get; private set; }
        public XmlResourceProvider(string fileName)
        {
            this.FileName = fileName;
        }
        public object GetObject(string key)
        {
            throw new NotImplementedException();
        }
        public override string ToString()
        {
            return string.Format("{0}\n\tFile Name:{1}", typeof(XmlResourceProvider).FullName, this.FileName);
        }
    }
}
